package com.ketangpai.admin.service;

import com.ketangpai.admin.common.PageResult;
import com.ketangpai.admin.dto.WorkDTO;
import com.ketangpai.admin.vo.WorkVO;

import java.util.List;


public interface WorkService {
    WorkVO getWorkById(Integer id);

    PageResult<WorkVO> getWorkList(Integer courseId, Integer status, Integer pageNum, Integer pageSize);

    void createWork(WorkDTO workDTO);

    void updateWork(WorkDTO workDTO);

    void deleteWork(Integer id);

    void releaseWork(Integer id);
    List<com.ketangpai.admin.entity.dto.WorkDTO> queryByCid(Integer id);

}
